package com.dsj.gxrd.modules.activity.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dsj.gxrd.common.MyBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author songpin566
 * @date 2023/10/07
 **/
@Data
@ApiModel("文章新闻")
@TableName("rd_news")
public class RdNews extends MyBaseEntity<Long> {

    @ApiModelProperty("id")
    @TableId(type = IdType.ASSIGN_ID)
    private Long rdNewsId;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("活动时间")
    private LocalDateTime activeTime;
    @ApiModelProperty("发布时间")
    private LocalDateTime publishTime;
    @ApiModelProperty("顺序")
    private Integer sort;
    @ApiModelProperty("内容")
    private String content;
    @ApiModelProperty("参与人员")
    private String participantIds;
    @ApiModelProperty("分类id")
    private Long rdBookCatId;
    @ApiModelProperty("删除")
    @TableLogic
    private Integer delFlag;

    private String isGxrdcwh;

    private String isPublish;

    private String subtitle;

}
